﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XCommunity
{
  public abstract class Plugin : ICommunityPlugin
  {



    #region IPlugin 成员

    public void Loaded( string name, string prefix )
    {
      Name = name;
      Prefix = prefix;
    }


    public string Name
    {
      get;
      private set;
    }

    public string Prefix
    {
      get;
      private set;
    }


    public virtual void Init( ICommunityContext context )
    {
    }

    #endregion
  }
}
